package com.ybb.stock.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("ybb_goods_stock_change")
@Data
public class GoodsStockChangeEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String sku;
    private Integer num;
    private String merchant;
    private Integer orderId;
    private Date createTime;
    /**
     * 状态：0未支付，1已支付，2已取消
     */
    private Integer status; //TODO:这里直接用订单的状态就行吧
}
